package com.party.common.utils;

/**
 * @author: zhaoyongke
 * @create: 2024-05-31 09:16
 * @description: sql
 */
public class SqlUtis {

    public final static String  month_sql="DATE_FORMAT(create_time, '%Y-%m') = DATE_FORMAT(CURDATE(), '%Y-%m')";
    public final static String yes_sql="DATE(create_time) = DATE_SUB(CURDATE(), INTERVAL 1 DAY)";
    public final static String year_sql="year(create_time) = YEAR(CURDATE())";
}
